<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<script type="text/javascript" src="../common/common.js"></script>
<link href="common/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="link_edit.php" method="post" onsubmit="return notEmpty(name, '请输入网站名称。')&&notEmpty(url, '请输入网址。')&&notEmpty(categoryId, '请选择所属分类。');">
<p class="fontBold">编辑链接</p>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<input type="hidden" name="id" value="{--$link.id--}" value="" />
<input type="hidden" value="backUrl" value="{--$backUrl--}" />
<tr><td width="100px">名称:</td><td><input name="sitename" id="sitename" type="text" value="{--$link.sitename--}" /></td></tr>
<tr><td width="100px">链接:</td><td><input name="sitelink" id="sitelink" type="text" value="{--$link.sitelink--}" /></td></tr>
<tr><td width="100px">排序:</td><td><input name="sort" id="sort" type="text" value="{--$link.sort--}" /></td></tr>
<tr><td></td><td><input type="submit" value="保存"/></td></tr>
</table>
</form>
</body>
</html>